:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-bg: #f5f7fa;
}

body {
    background-color: #f5f7fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 20px;
}

.dashboard-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dashboard-card {
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
    border: none;
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
    background-color: #fff;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}

.card-header {
    background: linear-gradient(120deg, #f6f9ff, #e6f7ff);
    border-bottom: 1px solid #e3e6f0;
    border-radius: 0.75rem 0.75rem 0 0 !important;
    padding: 1.25rem 1.5rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4e73df;
    margin-bottom: 0.25rem;
}

.card-subtitle {
    font-size: 0.85rem;
    color: #6c757d;
}

.back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem;
    text-decoration: none;
    color: #4e73df;
    font-weight: 500;
    transition: all 0.2s;
}

.back-link:hover {
    color: #2a4bc9;
    transform: translateX(-3px);
}

.back-link i {
    margin-right: 0.5rem;
}

.data-table-container {
    overflow-x: auto;
    border-radius: 0.65rem;
    border: 1px solid #e3e6f0;
    box-shadow: 0 0.15rem 0.5rem rgba(0, 0, 0, 0.05);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.data-table th {
    background-color: #f8f9fc;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #4e73df;
    border-bottom: 2px solid #e3e6f0;
}

.data-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #eaeaea;
    color: #495057;
}

.data-table tr:hover {
    background-color: rgba(78, 115, 223, 0.03);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.empty-message {
    background-color: #f8f9fc;
    border-radius: 0.65rem;
    padding: 2rem;
    text-align: center;
    border: 1px dashed #e3e6f0;
    margin-bottom: 1.5rem;
}

.empty-message i {
    font-size: 2.5rem;
    color: #d1d3e2;
    margin-bottom: 1rem;
}

.empty-message p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 0.5rem;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination a {
    background-color: #f8f9fc;
    color: #4e73df;
    border: 1px solid #e3e6f0;
}

.pagination a:hover {
    background-color: #4e73df;
    color: white;
    border-color: #4e73df;
}

.pagination .current-page {
    background-color: #4e73df;
    color: white;
    border: 1px solid #4e73df;
}

.alert-message {
    padding: 1rem;
    border-radius: 0.65rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.success-message {
    background-color: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0f5132;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #842029;
}

.alert-message i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.action-btn {
    background-color: #4e73df;
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}

.action-btn:hover {
    background-color: #2a4bc9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(78, 115, 223, 0.3);
}

.action-btn i {
    margin-right: 0.5rem;
}

.action-form {
    display: inline-block;
}

.pending-orders {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-card {
    background-color: #ffffff;
    border-radius: 0.65rem;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 0.15rem 0.5rem rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

.summary-card .number {
    font-size: 2rem;
    font-weight: 700;
    color: #4e73df;
    margin: 0.5rem 0;
}

.summary-card .title {
    font-size: 0.9rem;
    color: #6c757d;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.status-pending {
    background-color: rgba(243, 156, 18, 0.15);
    color: var(--warning-color);
}